<?php
	ob_start();
?>
<?php $Helper->ActionLink('Home', 'Index', 'Home'); ?>
<?php echo $viewHtml; ?>
<?php 
	$html = ob_get_contents();
    ob_end_clean();

    if (DO_TIDY == true) {
    
        $tidyConfig = array(
            'indent'         => true,
            'output-xhtml'   => true,
            'wrap'           => 200
            );

        $tidy = new tidy;
        $tidy->parseString($html, $tidyConfig, 'utf8');
        $tidy->cleanRepair();

        print($tidy); 
    }
    else {
        print($html);
    }
   
?>